﻿using System.Collections.Generic;
using System.Linq;
using FoosballEye.Model;

namespace FoosballEye.Repository
{
    using FoosballEye.Model.Helper;

    public class GameTeamRepository : RepositoryBase<FoosballEyeDbContext>, IGameTeamRepository
    {
        public OperationStatus Insert(GameTeam gameTeam)
        {
            DataContext.GameTeams.Add(gameTeam);
            DataContext.SaveChanges();

            return new OperationStatus { Status = true };
        }
        
    }
}
